﻿<%@ Page Language="C#" AutoEventWireup="true" EnableEventValidation="false" CodeBehind="IlaniListele.aspx.cs" Inherits="Sahibinden.UserAction.IlaniListele" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<script runat="server">

    protected void Button1_Click(object sender, EventArgs e)
    {

    }
</script>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <style type="text/css">
        .style6
        {
            width: 135px;
        }
        .style11
        {
        }
        .style14
        {
            width: 134px;
        }
        .style17
        {
            width: 109px;
        }
        .style25
        {
            height: 21px;
            width: 134px;
        }
        .style26
        {
            height: 21px;
            width: 77px;
        }
        .style32
        {
        }
        .style33
        {
            height: 21px;
        }
        .style34
        {
            width: 115px;
        }
        .style37
        {
            font-size: small;
        }
        .style39
        {
        }
        .style40
        {
            width: 77px;
        }
        </style>
</head>

<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <div>
    
        <br />
        <asp:Label ID="lblIlanBaslik" runat="server" Font-Bold="True" 
            Font-Size="X-Large" Text="Label"></asp:Label>
    
    </div>
    <table style="width: 1088px; height: 316px; border-collapse: collapse; margin-bottom: 0px;" 
        bgcolor="#FFFFCC">
        <tr>
            <td rowspan="11" class="style6">
            
            <asp:UpdatePanel ID="UpdatePanel1" runat="server">
                <ContentTemplate>
                <asp:Image ID="Image7" runat="server" Height="310px" Width="457px" />
               </ContentTemplate>
                    
                    <Triggers>
                        <asp:AsyncPostBackTrigger ControlID="DataList1" EventName="ItemCommand" />
                    </Triggers>
                    
                </asp:UpdatePanel>
               </td>
            <td align="center" colspan="2" bgcolor="Black">
                <asp:Label ID="Label13" runat="server" Font-Bold="True" 
                    Text="İLAN DETAY BİLGİLERİ" Font-Size="Large" ForeColor="#FF9900"></asp:Label>
            </td>
            <td style="text-align: center" bgcolor="#FFFFCC">
                </td>
            <td style="text-align: center" bgcolor="#FFFFCC" width="10px">
                </td>
            <td style="text-align: center" bgcolor="#FFFFCC" class="style17">
                </td>
        </tr>
        <tr>
            <td class="style39">
                <asp:Label ID="Label2" runat="server" Text="İlan Numarası" Font-Bold="True" 
                    ForeColor="#333300"></asp:Label>
            </td>
            <td class="style40">
                <asp:Label ID="lblIlanID" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="style32">
                &nbsp;</td>
            <td class="style32">
                &nbsp;</td>
            <td class="style17">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style39">
                <asp:Label ID="Label3" runat="server" Text="Kategori Adı" Font-Bold="True"></asp:Label>
            </td>
            <td class="style40">
                <asp:Label ID="lblKategoriID" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="style32">
                &nbsp;</td>
            <td class="style32" height="5">
                &nbsp;</td>
            <td class="style11" align="center" bgcolor="#FFFFCC">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style39">
                <asp:Label ID="Label5" runat="server" Text="Ülke" Font-Bold="True"></asp:Label>
            </td>
            <td class="style40">
                <asp:Label ID="lblUlkeID" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="style32" width="5">
                &nbsp;</td>
            <td class="style32">
                &nbsp;</td>
            <td class="style17">
                &nbsp;</td>
        </tr>
        <tr>
            <td class="style25">
                <asp:Label ID="Label6" runat="server" Text="Şehir" Font-Bold="True"></asp:Label>
            </td>
            <td class="style26">
                <asp:Label ID="lblSehirID" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="style33">
                </td>
            <td class="style33" bgcolor="Black" colspan="2">
                <asp:Label ID="Label14" runat="server" Font-Bold="True" Text="ÜYE BİLGİLERİ" 
                    ForeColor="#FF9900"></asp:Label>
                </td>
        </tr>
        <tr>
            <td class="style14">
                <asp:Label ID="Label7" runat="server" Text="İlçe" Font-Bold="True"></asp:Label>
            </td>
            <td class="style40">
                <asp:Label ID="lblIlceID" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="style34">
                </td>
            <td class="style34">
                <asp:Label ID="Label15" runat="server" Text="Adı" Font-Bold="True"></asp:Label>
                </td>
            <td class="style17">
                <asp:Label ID="lblKullaniciAdi" runat="server" Text="Label"></asp:Label>
                </td>
        </tr>
        <tr>
            <td class="style39">
                <asp:Label ID="Label8" runat="server" Text="Mahalle" Font-Bold="True"></asp:Label>
            </td>
            <td class="style40">
                <asp:Label ID="lblMahalleID" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="style32">
                &nbsp;</td>
            <td class="style32">
                <asp:Label ID="Label16" runat="server" Text="E-Mail" Font-Bold="True"></asp:Label>
            </td>
            <td class="style17">
                <asp:Label ID="lblEmail" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="style39">
                <asp:Label ID="Label9" runat="server" Text="İlan Başlığı" Font-Bold="True"></asp:Label>
            </td>
            <td class="style40">
                <asp:Label ID="lblIlanBasligi" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="style32">
                &nbsp;</td>
            <td class="style32">
                <asp:Label ID="Label17" runat="server" Text="Telefon (iş)" Font-Bold="True"></asp:Label>
                </td>
            <td class="style17">
                <asp:Label ID="lblTelefonIs" runat="server" Text="Label"></asp:Label>
                </td>
        </tr>
        <tr>
            <td class="style39">
                <asp:Label ID="Label10" runat="server" Text="Açıklama" Font-Bold="True"></asp:Label>
            </td>
            <td class="style40">
                <asp:Label ID="lblAciklama" runat="server" Text="Label"></asp:Label>
            </td>
            <td class="style32">
                </td>
            <td class="style32">
                <asp:Label ID="Label18" runat="server" Text="Gsm" Font-Bold="True"></asp:Label>
                </td>
            <td class="style17">
                <asp:Label ID="lblTelefonCep" runat="server" Text="Label"></asp:Label>
            </td>
        </tr>
        <tr>
            <td>
                <asp:Label ID="Label11" runat="server" Text="Fiyat" Font-Bold="True"></asp:Label>
            </td>
            <td class="style40">
                <asp:Label ID="lblFiyat" runat="server" Text="Label"></asp:Label>
            </td>
            <td>
                </td>
            <td colspan="2">
                <span class="style37">Üye&#39;ye ait diğer ilanları görmek için</span>
                <asp:LinkButton ID="LinkButton2" runat="server" onclick="LinkButton2_Click">tıklayın..</asp:LinkButton>
            </td>
        </tr>
        <tr>
            <td class="style39">
                &nbsp;</td>
            <td class="style40">
                &nbsp;</td>
            <td class="style32">
                &nbsp;</td>
            <td class="style32" colspan="2">
                <span class="style37">Bu ilana</span>&nbsp;
                <asp:LinkButton ID="LinkButton3" runat="server" onclick="LinkButton3_Click">mesaj</asp:LinkButton>
&nbsp;<span class="style37">gönder..</span></td>
        </tr>
    </table>
     <table>
        <tr>
            
                <asp:DataList ID="DataList1" runat="server" 
        onitemcommand="DataList1_ItemCommand" RepeatDirection="Horizontal"  
        Width="354px" Height="70px">
    <ItemTemplate>
        <asp:LinkButton ID="LinkButton1" CommandName="resim" CommandArgument='<%# Eval("ServerFileName") %>' runat="server">
        <asp:Image  ID="Image1" Height="90" Width="90" runat="server" ImageUrl='<%# "~/UserImages/" + Eval("ServerFileName") %>' />
        </asp:LinkButton>
    </ItemTemplate>
        
        
    </asp:DataList>
               
        </tr>
    </table>
    <br />
    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
        onrowcommand="GridView1_RowCommand">
        <Columns>
            <asp:BoundField DataField="IlanID" HeaderText="İlan Numarası" />
            <asp:BoundField DataField="Aciklama" HeaderText="Açıklama" />
            <asp:TemplateField HeaderText="İlan Başlığı">
            <ItemTemplate>
                   <asp:LinkButton ID="LinkButton1" runat="server" CommandName="Sec" CommandArgument='<%#Eval("IlanID") %>'  Text='<%#Eval("IlanBasligi") %>' />
 
            </ItemTemplate>
            
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    
    </form>
   
    </body>
</html>
